home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / GRAPHICS / RAYTRACING / POVRAY3 / POV301 / povray3 / docsdemo / pov / focaldem < prev    next >
Text File  |  1997-01-21  |  2KB  |  72 lines

  1. **************************************************************
  2. // Persistence of Vision(tm) Ray Tracer Scene Description File
  3. // Filename    : Focaldem.pov
  4. // POV Version : POV-Ray for Windows v3.00e
  5. // Description : Focal Blur tutorial
  6. // Date        : 11/06/96
  7. // Constructor : Alan C. Kong
  8.  
  9.  
  10. // ==== Standard POV-Ray Includes ====
  11. #include "colors.inc"    // Standard Color definitions
  12. #include "shapes.inc"   // Standard Shape definitions
  13. #include "textures.inc"    // Standard Texture definitions
  14.  
  15. #version 3.0
  16.  
  17. global_settings {
  18.   assumed_gamma 2.2 // for most PC monitors
  19.   max_trace_level 5
  20. }
  21.  
  22. sphere { <1, 0, -6>, 0.5
  23.   finish {
  24.     ambient 0.1 
  25.     diffuse 0.6
  26.   }
  27.   pigment { NeonPink }
  28. }
  29.  
  30. box { <-1, -1, -1>, < 1,  1,  1>
  31.   rotate <0, -20, 0>   
  32.   finish {
  33.     ambient 0.1 
  34.     diffuse 0.6
  35.   }
  36.   pigment { Green }
  37. }
  38.  
  39. cylinder { <-6, 6, 30>, <-6, -1, 30>, 3  
  40.   finish {
  41.     ambient 0.1 
  42.     diffuse 0.6
  43.   } 
  44.   pigment {NeonBlue}              
  45. }
  46.  
  47. plane { y, -1.0
  48.   pigment {
  49.     checker color Gray65 color Gray30
  50.   }
  51. }
  52.  
  53. light_source { <5, 30, -30> color White } 
  54.  
  55. light_source { <-5, 30, -30> color White }
  56.  
  57. camera {
  58.   location <0.0, 1.0, -10.0> // position of camera <1 unit up, 10 back>
  59.   look_at  <0.0, 1.0,  0.0>  // point center of view at this point
  60.  
  61. //  focal_point <-6, 1, 30>    // blue cylinder is the center of focus
  62. //  focal_point < 0, 1,  0>    // green box is the center of focus
  63.   focal_point < 1, 1, -6>    // pink sphere is the center of focus
  64.  
  65.   aperture 0.4     // a nice compromise
  66. //  aperture 0.05    // almost everything is in focus
  67. //  aperture 1.5     // much blurring
  68.  
  69. //  blur_samples 4       // fewer samples, faster to render
  70.   blur_samples 20      // more samples, higher quality image
  71. }
  72.